import { Button, ButtonPropsType } from './button'
import { Text, TextPropsType } from './text'
import { AntdRate, AntdRatePropsType } from './antd-rate'

export const componentsList = [
  {
    name: 'button',
    label: '按钮组件',
    component: Button,
    propsType: ButtonPropsType
  },
  {
    name: 'text',
    label: '文本组件',
    component: Text,
    propsType: TextPropsType
  },
  {
    name: 'antd-rate',
    label: 'Antd评分组件',
    component: AntdRate,
    propsType: AntdRatePropsType
  },
]